package com.xteam.ecsystem.entities;


import java.io.Serializable;

/**
 * 商品配件表
 * @author tangkf
 * @date 2012-08-14
 */
public class BaseGoodsAccessories implements Serializable {
	private static final long serialVersionUID = 1L;


	/**
	 * 类名称
	 */
	public static final String REF="BaseGoodsAccessories";

	/**
	 * 系统ID 的属性名
	 */
	public static final String PROP_BGAID="bgaId";

	/**
	 * 商品ID 的属性名
	 */
	public static final String PROP_BGAGID="bgaGid";

	/**
	 * 配件ID 的属性名
	 */
	public static final String PROP_BGAAID="bgaAid";

	/**
	 * 系统ID
	 */
	private java.lang.String bgaId;

	/**
	 * 商品ID
	 */
	private java.lang.String bgaGid;

	/**
	 * 配件ID
	 */
	private java.lang.String bgaAid;

	/**
	 * 获取 系统ID 的属性值
	 * @return bgaId : 系统ID
	 * @author tangkf
	 */
	public java.lang.String getBgaId(){
		return this.bgaId;
	}

	/**
	 * 设置 系统ID 的属性值
	 * @param bgaId : 系统ID
	 * @author tangkf
	 */
	public void setBgaId(java.lang.String bgaId){
		this.bgaId	= bgaId;
	}

	/**
	 * 获取 商品ID 的属性值
	 * @return bgaGid : 商品ID
	 * @author tangkf
	 */
	public java.lang.String getBgaGid(){
		return this.bgaGid;
	}

	/**
	 * 设置 商品ID 的属性值
	 * @param bgaGid : 商品ID
	 * @author tangkf
	 */
	public void setBgaGid(java.lang.String bgaGid){
		this.bgaGid	= bgaGid;
	}

	/**
	 * 获取 配件ID 的属性值
	 * @return bgaAid : 配件ID
	 * @author tangkf
	 */
	public java.lang.String getBgaAid(){
		return this.bgaAid;
	}

	/**
	 * 设置 配件ID 的属性值
	 * @param bgaAid : 配件ID
	 * @author tangkf
	 */
	public void setBgaAid(java.lang.String bgaAid){
		this.bgaAid	= bgaAid;
	}

	/**
	 * 转换为字符串
	 * @author tangkf
	 */
	public String toString(){
		return "{" + "bgaId(系统ID)=" + bgaId + "," +"bgaGid(商品ID)=" + bgaGid + "," +"bgaAid(配件ID)=" + bgaAid + "}";
	}
	/**
	 * 转换为 JSON 字符串
	 * @author tangkf
	 */
	public String toJson(){
		return "{" + "bgaId:'" + bgaId + "'," +"bgaGid:'" + bgaGid + "'," +"bgaAid:'" + bgaAid + "'}";
	}
}